<?php
require('validate.php');

$filename = "e.php";

$lastModifiedDate = date("Ymd", filemtime($filename));
$todaysDate = date("Ymd");

echo "last time the file was modified was " . $lastModifiedDate . "<br />";
echo "today's date is " . $todaysDate;

?>